package com.indusfo.spc.service;

import com.indusfo.spc.pojo.AssociTion;
import com.indusfo.spc.vo.JSONObject;

import java.util.List;

public interface AssocitionService {
            JSONObject selectAssociTion(AssociTion associTion);
            JSONObject updateAssociTion(AssociTion associTion);
            JSONObject insertAssociTion(AssociTion associTion);
            JSONObject deleteAssociTion(Long [] lDepId, Integer lRoleId,Integer lDataState );
            JSONObject  deleteAssociTionAll(Integer lRoleId);

    void deleteAssociTionByRoleId(Long[] lRoleIds, Integer lDataState);

    List<AssociTion> queryAssocitionByRoleId(Integer lRoleId);
}
